package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 用户地址信息
 * @author Rongjie
 */
@Data
@TableName("mall_user_address")
@KeySequence(value = "mall_user_address_SEQ")
@ApiModel(value = "MallUserAddress对象")
public class MallUserAddress implements Serializable{

       @ApiModelProperty(value = "应用id，应用标识")
       private String appKey;

       @TableId(value = "user_address_key", type = IdType.UUID)
       private String userAddressKey;

       @ApiModelProperty(value = "用户的id")
       private String userKey;

       @ApiModelProperty(value = "收货人")
       private String name;

       @ApiModelProperty(value = "电话")
       private String mobile;

       @ApiModelProperty(value = "省份")
       private String province;

       @ApiModelProperty(value = "城市")
       private String city;

       @ApiModelProperty(value = "区")
       private String district;

       @ApiModelProperty(value = "详细地址")
       private String address;

       @ApiModelProperty(value = "1:默认；0:不默认", example = "1")
       private Integer isDefault;

       @ApiModelProperty(value = "标签")
       private String tag;

       @ApiModelProperty(value = "添加时间", example = "1")
       private Integer createTime;

       private Integer updateTime;

       @ApiModelProperty(value = "纬度")
       private BigDecimal lat;

       @ApiModelProperty(value = "纬度")
       private BigDecimal lng;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
